﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Collections.ObjectModel;

namespace HotelManageSystem.Domain.Entities
{
    /// <summary>
    /// Class Name:     RoomType
    /// Author:         Wenshu Zhang
    /// Creation Date:  2011-12-29
    /// Description:    
    /// QA:             
    /// -----------------------------------------
    /// </summary>
    public  class RoomType
    {
        public RoomType()
        {
            RoomCollection = new Collection<Room>();
        }
        [Key]
        public int ID { get; set; }

        [Required]
        public string Name { get; set; }

        public decimal Price { get; set; }

        public string Remark { get; set; }

        public ICollection<Room> RoomCollection { get; set; }
    }
}
